package com.trg.designmodel.adapter.interfaceAdapter;

/**
 * @ClassName: WaterAnmial
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/6 11:26
 * @Version: 1.0
 * @Return:
 **/
public abstract class WaterAnmial implements Zoo {

    public void name() {
        System.out.println("name = 草鱼");

    }

    public void age() {
        System.out.println("age = 2");
    }

    public void type() {
        System.out.println("type = 脊椎");
    }

    public void color() {
        System.out.println("color = Black");
    }
}
